package photorganizer.common.helper;

import java.io.File;

public class FileHelper {

	public static void delete(File file) {
		if (file.isDirectory()) {
			for (File child : file.listFiles()) {
				delete(child);
			}
		}
		file.delete();
	}

	private FileHelper() {
		assert false;
	}

}
